package com.lemon.reggie.mapper;

import com.lemon.reggie.pojo.entity.DishFlavor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜品口味关系表 Mapper 接口
 * </p>
 *
 * @author Lemon
 * @since 2022-05-23
 */
public interface DishFlavorMapper extends BaseMapper<DishFlavor> {

    List<DishFlavor> findByDishIds(@Param("ids") List<Long> ids);

    void deleteByDishId(@Param("dishId") Long dishId);

}
